//
//  WBStatusToolBar.swift
//  weibo
//
//  Created by wenquan wang on 1/4/17.
//  Copyright © 2017 wenquan wang. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {
    
    var viewModel: WBStatusViewModel?{
        didSet{
            reteetedButton.setTitle(viewModel?.retweetedStr, for: [])
            commentButton.setTitle(viewModel?.commentStr, for: [])
            likeButton.setTitle(viewModel?.likeStr, for: [])
        }
    }
    
    @IBOutlet weak var reteetedButton: UIButton!
    @IBOutlet weak var commentButton: UIButton!
    @IBOutlet weak var likeButton: UIButton!
}
